package com.itheima.service.db;

import com.itheima.domain.db.Options;
import com.itheima.vo.OptionsVo;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface OptionsService {
    // 查询选项分数
    Integer findScore(Integer questionId, Integer optionId);

    List<OptionsVo> findByQuestionId(Integer soulQuestionId);

    //查询答案
    PageBeanVo findSolution(Integer pageNum, Integer pageSize, Integer bankId);

    //新增
    void saveSolution(Options options);

    //删除指定id
    void deleteSolutionById(Integer id);

    //删除多个选项
    void deleteMoreSolution(Integer[] ids);
}
